package PTA2.ti15;

import java.util.Scanner;

/**
 * @author Lenovo
 */
public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int y=scanner.nextInt();
        if((y%4==0&&y%100!=0)||y%400==0){
            System.out.println("yes");
        }else{
            System.out.println("no");
        }
        scanner.close();
        }
    }
